/**
 * FileName: Resource
 * Author: TangZaoBang
 * Date: 2023/05/09 10:52
 * Description:
 * <p>
 * History:
 * <author> TangZaoBang
 * <time> 2023/05/09 10:52
 * <version> 1.0.0
 * <desc> 版本描述
 */

package com.bosssoft.hr.train.j2se.mybatis.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;


/**
 * @Class Resource
 * @Description
 * @Author TangZaoBang
 * @Date 2023/05/09 10:52
 * @Version
 */
@Data
@AllArgsConstructor
@NoArgsConstructor


@Table(name = "basic_resource")
public class Resource implements Serializable {

    @Id
    private Long id;

    private String name;

    private Long subSystemId;


    private String code;


    private Integer orderIndex;


    private Long parentId;


    private String url;

    private String api;


    private Byte method;

    private String openImg;


    private String closeImg;


    private Byte resourceType;


    private Byte leaf;


    private Byte action;


    private String remark;


    private Long tenantId;


    private Long orgId;


    private Long companyId;


    private Long createdBy;


    private String creator;


    private Date createdTime;


    private Long updatedBy;


    private String modifier;


    private Date updatedTime;


    private Byte status;


    private Long version;
}
